package com.mall.shop.entity.coupon;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * (CouponSpuCategoryRelation)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-15 14:24:59
 */
@Getter
@Setter
@TableName("sms_coupon_spu_category_relation")
@Schema(name = "实体", description = "映射")
public class CouponSpuCategoryRelation implements Serializable {
    private static final long serialVersionUID = 154289205238245248L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @TableField(value = "coupon_id")
    @Schema(description = "")
    private Long couponId;
    
    @TableField(value = "category_id")
    @Schema(description = "")
    private Long categoryId;
    
    @TableField(value = "category_name")
    @Schema(description = "")
    private String categoryName;
    
}

